Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Do not track empty assignment events #17

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

tyiuhc
Copy link
Collaborator

@tyiuhc tyiuhc commented Sep 19, 2023

Summary

Employ fix: empty assignment events are not tracked

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

@tyiuhc tyiuhc requested a review from bgiori September 19, 2023 18:18
@@ -167,13 +167,13 @@ func TestEmptyResult(t *testing.T) {
assignment2 := newAssignment(user1, results)
assignment3 := newAssignment(user2, results)
filter := newAssignmentFilter(100)
if !filter.shouldTrack(assignment1) {
if filter.shouldTrack(assignment1) {
t.Errorf("Assignment1 should be tracked")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change these error messages

@tyiuhc tyiuhc merged commit fcb0102 into main Sep 19, 2023
7 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 19, 2023
## [1.2.2](v1.2.1...v1.2.2) (2023-09-19)

### Bug Fixes

* Do not track empty assignment events ([#17](#17)) ([fcb0102](fcb0102))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants